# -*- coding: utf-8 -*-
# @Time: 2021/8/19 15:06
# @File: arg-53.py
# @DESC:

def func(nums):
    lent = len(nums)
    max = 0
    for i in range(lent):
        for j in range(lent):
            for k in range(j, i):
                print(j, k)


nums = [-2, 1, -3, 4, -1, 2, 1, -5, 4]
r = func(nums)
